package cn.hy.preparelesson.common.entity;

import java.util.Date;
import java.util.List;

public class SysRole {
    /**
     * 主键
     */
    private String id;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 角色排序
     */
    private Integer sort;

    /**
     * 备注
     */
    private String remark;

    /**
     * 角色编码
     */
    private String code;

    /**
     * 系统内置（1是 0否）
     */
    private Byte sysStatus;

    /**
     * 注册审核状态（0:不需要审核，1:人工审核，2:自动审核）
     */
    private Byte auditStatus;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 数据范围权限类型 0:自定义范围权限，1:全部数据范围权限
     */
    private Byte dataScope;

    /**
     * 角色组类型 （0:其他，1:教师，2:家长，3:学生，4:行政人员）
     */
    private Byte groupType;

    /**
     * 创建时间
     */
    private Date createAt;

    /**
     * 更新人
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateAt;

    /**
     * 学校id
     */
    private String schoolId;

    /**
     * 学校名称
     */
    private String schoolName;

    /**
     * 状态（0删除 1正常  2停用）
     */
    private Byte status;

    /**
     * 角色权限信息
     */
    private List<SysMenuPermission> menuPermissionList;

    /**
     * 角色数据范围权限信息
     */
    private List<SysRoleOfficeScope> officeScopeList;

    /**
     * 是否对外开放选择（0:否，1:是）
     */

    private Byte openStatus;

    /**
     * 角色注册 材料输入配置信息
     */
    private List<SysRoleRegisterRequirement> srrrList;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Byte getDataScope() {
        return dataScope;
    }

    public void setDataScope(Byte dataScope) {
        this.dataScope = dataScope;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public List<SysMenuPermission> getMenuPermissionList() {
        return menuPermissionList;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Byte getSysStatus() {
        return sysStatus;
    }

    public void setSysStatus(Byte sysStatus) {
        this.sysStatus = sysStatus;
    }

    public void setMenuPermissionList(List<SysMenuPermission> menuPermissionList) {
        this.menuPermissionList = menuPermissionList;
    }

    public List<SysRoleOfficeScope> getOfficeScopeList() {
        return officeScopeList;
    }

    public void setOfficeScopeList(List<SysRoleOfficeScope> officeScopeList) {
        this.officeScopeList = officeScopeList;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public Byte getGroupType() {
        return groupType;
    }

    public void setGroupType(Byte groupType) {
        this.groupType = groupType;
    }

    public Byte getOpenStatus() {
        return openStatus;
    }

    public void setOpenStatus(Byte openStatus) {
        this.openStatus = openStatus;
    }

    public List<SysRoleRegisterRequirement> getSrrrList() {
        return srrrList;
    }

    public void setSrrrList(List<SysRoleRegisterRequirement> srrrList) {
        this.srrrList = srrrList;
    }

    public Byte getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Byte auditStatus) {
        this.auditStatus = auditStatus;
    }
}
